/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.epos.swing.calc;

/**
 *
 * @author Administrator
 */
public class DataOnly implements CalcLogic{
    double value;
    public DataOnly(double val){
        value=val;
    }
    @Override
    public double calc(double inData) {
        return value;
    }

    @Override
    public String toString(){
        return ""+value;
    }
}
